package com.GameInterfaceDevelopment;
//飞机大战
import javax.swing.*;
public class Game extends JFrame {
    public static void main(String[] args) {
        Game game = new Game();
        game.launch();
    }
    public void launch(){
        //窗口是否可见
        this.setVisible(true);
        //大小
        this.setSize(600,600);
        //位置
        this.setLocationRelativeTo(null);
        //标题
        this.setTitle("飞机大战");
    }
}
